<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <img :src="url" alt="">
  <a :href="href">百度一下</a>
</div>
<script src="../js/vue.js"></script>
<script>
    const app = new Vue({
        el: '#app',
        data: {
          url: "https://www.baidu.com/img/dong_2f48771871e8ad5e62e1ceacb6d5efcd.gif",
          href: "https://www.baidu.com"
        }
    })
</script>
</body>
</html>
